package io.renren.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.entity.CategoryEntity;

import java.util.ArrayList;
import java.util.Map;

/**
 * 分类(若干子功能)
 *
 * @author kylin
 * @email 1360315221@qq.com
 * @date 2019-03-03 20:44:03
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询所有分类
     * @return
     * @throws Exception
     */
    ArrayList<CategoryEntity> getAllList() throws Exception;
}